package com.ruoyi.tjbb.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 疲劳驾驶时长统计对象 sys_tjbb_pljssctj
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
public class SysTjbbPljssctj extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carId;

    /** 车牌颜色 */
    @Excel(name = "车牌颜色")
    private String carColor;

    /** 归属机构 */
    @Excel(name = "归属机构")
    private String ownershipOrganization;

    /** 报警类型 */
    @Excel(name = "报警类型")
    private String alarmType;

    /** 时长 */
    @Excel(name = "时长")
    private String duration;

    /** ID */
    private Long id;

    public void setCarId(String carId) 
    {
        this.carId = carId;
    }

    public String getCarId() 
    {
        return carId;
    }
    public void setCarColor(String carColor) 
    {
        this.carColor = carColor;
    }

    public String getCarColor() 
    {
        return carColor;
    }
    public void setOwnershipOrganization(String ownershipOrganization) 
    {
        this.ownershipOrganization = ownershipOrganization;
    }

    public String getOwnershipOrganization() 
    {
        return ownershipOrganization;
    }
    public void setAlarmType(String alarmType) 
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType() 
    {
        return alarmType;
    }
    public void setDuration(String duration) 
    {
        this.duration = duration;
    }

    public String getDuration() 
    {
        return duration;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("carColor", getCarColor())
            .append("ownershipOrganization", getOwnershipOrganization())
            .append("alarmType", getAlarmType())
            .append("duration", getDuration())
            .append("id", getId())
            .toString();
    }
}
